﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DFGK_WMS.Context.Migrations
{
    public partial class 出库明细新增字段 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "SupplierCode",
                table: "TShippingOrderDetails",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SerialNo",
                table: "TShippingLockCells",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SerialNumberEnabled",
                table: "TShippingLockCells",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "StockDetailsId",
                table: "TShippingLockCells",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "StorageArea",
                table: "TShippingLockCells",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "StoreType",
                table: "TShippingLockCells",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "SupplierCode",
                table: "TShippingOrderDetails");

            migrationBuilder.DropColumn(
                name: "SerialNo",
                table: "TShippingLockCells");

            migrationBuilder.DropColumn(
                name: "SerialNumberEnabled",
                table: "TShippingLockCells");

            migrationBuilder.DropColumn(
                name: "StockDetailsId",
                table: "TShippingLockCells");

            migrationBuilder.DropColumn(
                name: "StorageArea",
                table: "TShippingLockCells");

            migrationBuilder.DropColumn(
                name: "StoreType",
                table: "TShippingLockCells");
        }
    }
}
